package com.lyw.springCloud.api.impl;

import com.lyw.springCloud.api.PaymentService;
import com.lyw.springCloud.entities.Payment;
import com.lyw.springCloud.result.CommonResult;
import org.springframework.stereotype.Component;

/**
 * @Auther liyawei
 * @Date 2022/5/18 19:58
 */

@Component
public class PaymentServiceImpl implements PaymentService {

    @Override
    public CommonResult<Payment> paymentSQL(Long id) {
        return new CommonResult<>(444, "服务降级返回， PaymentServiceImpl------------------");
    }
}
